import Cookies from 'js-cookie'

export const set = (type, val) => {
  Cookies.set(type, val + '')
}

export const get = (type) => {
  return Cookies.get(type) || ''
}

export default {
  set,
  get
}
